package stud.aistar.vo;

import stud.aistar.entity.Medtype;

/**
 * *
 *
 * @ClassName :wangyu
 * @Description
 * @Author
 * @Date2019/9/28 11:16
 * @Version V1.0
 */
public class MedicineVo extends Medtype {

    private Integer id ;

    private String medName;//药品名称

    private String medPrice;//药品价格

    private String medIntro;//药品介绍

    private String medImages;//药品图片

    private Integer medtypeId;

    private String typeName;//药品类型

    private Integer illmedId;

    public MedicineVo() {
    }

    public MedicineVo(Integer id, String medName, String medPrice, String medIntro, String medImages, Integer medtypeId, String typeName, Integer illmedId) {
        this.id = id;
        this.medName = medName;
        this.medPrice = medPrice;
        this.medIntro = medIntro;
        this.medImages = medImages;
        this.medtypeId = medtypeId;
        this.typeName = typeName;
        this.illmedId = illmedId;
    }

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    public String getMedName() {
        return medName;
    }

    public void setMedName(String medName) {
        this.medName = medName;
    }

    public String getMedPrice() {
        return medPrice;
    }

    public void setMedPrice(String medPrice) {
        this.medPrice = medPrice;
    }

    public String getMedIntro() {
        return medIntro;
    }

    public void setMedIntro(String medIntro) {
        this.medIntro = medIntro;
    }

    public String getMedImages() {
        return medImages;
    }

    public void setMedImages(String medImages) {
        this.medImages = medImages;
    }

    public Integer getMedtypeId() {
        return medtypeId;
    }

    public void setMedtypeId(Integer medtypeId) {
        this.medtypeId = medtypeId;
    }

    @Override
    public String getTypeName() {
        return typeName;
    }

    @Override
    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getIllmedId() {
        return illmedId;
    }

    public void setIllmedId(Integer illmedId) {
        this.illmedId = illmedId;
    }

    @Override
    public String toString() {
        return "MedicineVo{" +
                "id=" + id +
                ", medName='" + medName + '\'' +
                ", medPrice='" + medPrice + '\'' +
                ", medIntro='" + medIntro + '\'' +
                ", medImages='" + medImages + '\'' +
                ", medtypeId=" + medtypeId +
                ", typeName='" + typeName + '\'' +
                ", illmedId=" + illmedId +
                '}';
    }
}
